DrawThemeFocusRegion
NEW WITH THE APPEARANCE MANAGER
Draws or erases an Appearance-compliant focus ring around a specified region.
pascal OSStatus DrawThemeFocusRegion ( RgnHandle inRegion, Boolean inHasFocus);
inRegion
- On input, a handle to a region.
inHasFocus
- A Boolean value. If
true
, the focus region should be drawn. Iffalse
, the focus region should be erased.- function result
- A result code; see "Result Codes".
DISCUSSION
TheDrawThemeFocusRegion
function draws or erases a region to receive keyboard focus.SPECIAL CONSIDERATIONS
Make sure Appearance Manager 1.0.1 is present before calling theDrawThemeFocusRegion
function. See "Appearance Manager Gestalt Selector Constants" for details on how to determine if the Appearance Manager is present and what its version is, if so.